package com.hmyuan.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.hmyuan.domain.SysDictionaryData;

/**
 * 字典数据Service
 * @author wbtianhl
 *
 */
public interface SysDictionaryDataService {
	/**
	 *分页查询字典数据 
	 */
	PageInfo<SysDictionaryData> selectListByPage(
			SysDictionaryData sysDictionaryData, int pageNum, int pageSize);

	/**
	 *插入一条数据 
	 */
	boolean insert(SysDictionaryData sysDictionaryData);

	/**
	 * 查询list根据条件
	 */
	List<SysDictionaryData> selectList(SysDictionaryData sysDictionaryData);
	/**
	 *根据id查询一条数据 
	 */
    SysDictionaryData selectByPrimaryKey(Integer id);

    /**
     *更新字典数据 
     */
	boolean updateByPrimaryKeySelective(SysDictionaryData sysDictionaryData);

	/**
	 *根据id删除一条数据 
	 */
	boolean deleteByPrimaryKey(Integer id);
}
